package t20230608;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: DengJia
 * @Date: 2023/6/8
 * @Description:
 */

public class GeneriCMethod {

    public static <T> void f(T t) {
        System.out.println(t.getClass().getSimpleName());
    }

    public static void main(String[] args) {
        f("");
        f(1);
        f(1.0);
        f(1.0f);
        f(true);
        f(new GeneriCMethod());
    }

}
